<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script type="text/javascript">
			
			var num1=+prompt("请输入第一个整数：");
			var num2=+prompt("请输入第二个整数：");
			var num3=+prompt("请输入第三个整数：");
			
			if(num1<num2&&num1<num3){
				if(num2<num3){
					alert("这三个整数从小到大为："+num1+","+num2+","+num3);
				}else{
					alert("这三个整数从小到大为："+num1+","+num3+","+num2);
				}
			}else if(num2<num1&&num2<num3){
				if(num1<num3){
					alert("这三个整数从小到大为："+num2+","+num1+","+num3);
				}else{
					alert("这三个整数从小到大为："+num2+","+num3+","+num1);
				}
			}else{
				if(num1<num2){
					alert("这三个整数从小到大为："+num3+","+num1+","+num2);
				}else{
					alert("这三个整数从小到大为："+num3+","+num2+","+num1);
				}
			}

			
	
		</script>
	</head>
	<body>
	</body>
</html>
